﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.Business.Entitys.Common.Entity
{
    /// <summary>
    /// 打印序列号记录实体.
    /// </summary>
    [SugarTable("com_base_print_serial", "打印序列号记录")]
    [Tenant(ClaimConst.TENANTID)]
    public class ComBasePrintSerialEntity: CLDEntityBase
    {
        /// <summary>
        /// 打印配置编码.
        /// </summary>
        [SugarColumn(ColumnName = "F_PrintCode", ColumnDescription = "打印配置编码")]
        public string PrintCode { get; set; }

        /// <summary>
        /// 打印业务数据Id.
        /// </summary>
        [SugarColumn(ColumnName = "F_BusinessId", ColumnDescription = "打印业务数据Id")]
        public string BusinessId { get; set; }

        /// <summary>
        /// 标签变量.
        /// </summary>
        [SugarColumn(ColumnName = "F_LabelCode", ColumnDescription = "标签变量")]
        public string LabelCode { get; set; }

        /// <summary>
        /// 上次打印序列号.
        /// </summary>
        [SugarColumn(ColumnName = "F_SerialValue", ColumnDescription = "上次打印序列号")]
        public string SerialValue { get; set; }

        /// <summary>
        /// 上次序列保存时间.
        /// </summary>
        [SugarColumn(ColumnName = "F_SequenceTime", ColumnDescription = "上次序列保存时间")]
        public DateTime? SequenceTime { get; set; }
    }
}
